package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportAuditProcess;
import cn.stylefeng.guns.modular.transport.model.params.TransportAuditProcessParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportAuditProcessResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 审核流程表 服务类
 * </p>
 *
 * @author like
 * @since 2024-10-15
 */
public interface TransportAuditProcessService extends IService<TransportAuditProcess> {

    /**
     * 新增
     *
     * @author like
     * @Date 2024-10-15
     */
    void add(TransportAuditProcessParam param);

    /**
     * 删除
     *
     * @author like
     * @Date 2024-10-15
     */
    void delete(TransportAuditProcessParam param);

    /**
     * 更新
     *
     * @author like
     * @Date 2024-10-15
     */
    void update(TransportAuditProcessParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    TransportAuditProcessResult findBySpec(TransportAuditProcessParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
    List<TransportAuditProcessResult> findListBySpec(TransportAuditProcessParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author like
     * @Date 2024-10-15
     */
     LayuiPageInfo findPageBySpec(TransportAuditProcessParam param,String condition);

}
